//  -------------------- iSharePoint -------------------- //
// 
//  Company:	IT Complex, LLC
//  Project:	Smart.Common
//  File name:	MetaFormMenuItem.cs
//  Developer:	Solomatov Igor
//  Created:	15.04.2012
// 
//  -------------------- iSharePoint -------------------- //

namespace Smart.Common.Forms
{
	/// <summary>
	/// Menu item
	/// </summary>
	public class MetaFormMenuItem : MetaFormContainer<MetaFormMenuItem>
	{
		public bool IsSelected { get; set; }
		public string Query { get; set; }
		public string ControlSrc { get; set; }

		public MetaFormMenuItem(string title, string name, string query, string controlSrc, bool isSelected)
			: base(title, name)
		{
			Query = query;
			ControlSrc = controlSrc;
			IsSelected = isSelected;
		}
	}
}